Utility.delayExecute Method
Delay an execute of a function by some time. if the same identifier is used, previous calls will be cancelled.
Parameters
- identifier
-
Type: string
An identifier.
- delay
-
Type: Number
Amount of delay in milliseconds.
- func
-
Type: Function
Function to execute.
- caller
-
Type: Object - May be null
(Optional) The caller reference to assign to the delay execution.
Return Value
Type: jQuery.Promise
A promise indicating that the function has completed its execution.